<?php
/*
 * @Author: 李明
 * @Date: 2021-12-29 19:04:29
 * @LastEditTime: 2022-01-17 15:06:22
 * @LastEditors: 李明
 * @Description: 
 * @FilePath: /CRM2.0-PHP/app/Models/SystemBase.php
 * @山东壹零贰肆信息科技有限公司
 */

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class SystemBase
 * 
 * @property int $id
 * @property int|null $company_id
 * @property string|null $title
 * @property string|null $service_tel
 * @property string|null $technical_support
 * @property string|null $version_number
 * @property float|null $person_task
 * @property string|null $password_type
 * @property string|null $default_password
 * @property string|null $int_rules
 * @property string|null $interest_rules
 * @property string|null $end_rules
 * @property Carbon|null $create_time
 * @property Carbon|null $update_time
 * @property Carbon|null $product_up_time
 *
 * @package App\Models
 */
class SystemBase extends Model
{
    protected $table = 'system_base';

    protected $casts = [
        'company_id' => 'int',
        'person_task' => 'float'
    ];

    protected $dates = [
        'product_up_time'
    ];

    // protected $hidden = [
    // 	'default_password'
    // ];

    protected $fillable = [
        'company_id',
        'title',
        'service_tel',
        'technical_support',
        'version_number',
        'version',
        'person_task',
        'password_type',
        'default_password',
        'int_rules',
        'interest_rules',
        'end_rules',
        'version',
        'product_up_time'
    ];
}
